package com.jiangyg.mall.product.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 类描述：品牌
 * 
 * @author jiangyg
 * @email email@jiangyg.com
 * @date 2021-10-18 22:25:29
 */
@Data
@NoArgsConstructor
@EqualsAndHashCode
@TableName("mp_brand")
public class Brand implements Serializable {

	private static final long serialVersionUID = 1L;

	/**
	 * 品牌id
	 */
	@TableId(type = IdType.ASSIGN_ID)
	@TableField("id")
	private Long id;

	/**
	 * 品牌名
	 */
	@TableField("name")
	private String name;

	/**
	 * 品牌logo地址
	 */
	@TableField("logo")
	private String logo;

	/**
	 * 排序
	 */
	@TableField("sort")
	private Integer sort;

	/**
	 * 介绍
	 */
	@TableField("desct")
	private String desct;

	/**
	 * 显示状态[0-不显示；1-显示]
	 */
	@TableField("visible")
	private Integer visible;

}
